<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of lib_button
 *
 * @author Obi
 */
class images_thumb {


    function image($img=  NULL) {
        $n=  strlen($img);
        $extnsion_file=substr($img, $n-3, $n);
        $nama_file= substr($img, 0, $n-4);
        $new_image=$nama_file."_thumb.".$extnsion_file;
        
        return $new_image;
    }

   
}

?>
